package idiet.conf;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringConfigLoader {
	private final static ApplicationContext context;
	static{
		context=new ClassPathXmlApplicationContext("applicationContext.xml",SpringConfigLoader.class);
	}
	public static ApplicationContext getContext() {
		return context;
		//return new ClassPathXmlApplicationContext("applicationContext.xml",ConfigLoader.class);
	}
	
}
